<script setup lang="ts">
import zhCn from 'element-plus/es/locale/lang/zh-cn' // Element Plus 中文包
import { useTheme } from './composables/useTheme'

const { initTheme } = useTheme()

initTheme()
</script>

<template>
  <!-- <div class="app">
    <h2>app</h2>
    <el-button type="primary"></el-button>
  </div> -->
  <el-config-provider :locale="zhCn">
    <router-view />
  </el-config-provider>
</template>
